package cn.tedu._04weibo.mapper;

import cn.tedu._04weibo.pojo.dto.UserLoginParam;
import cn.tedu._04weibo.pojo.entity.User;
import cn.tedu._04weibo.pojo.vo.UserLoginVo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    int selectByName(String name);

    int insert(User user);

    UserLoginVo selectByNameAndPassword(UserLoginParam param);

    String selectNickname(Integer id);
}
